package t4;
public class Rect {
   private int wide;
   private int height;

    public int getWide() {
        return wide;
    }

    public void setWide(int wide) {
        this.wide = wide;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public  Rect(int wide,int height) {
        this.height=height;
        this.wide=wide;
    }
    public  Rect() {
        this.height=10;
        this.wide=10;
    }
    public int area() {
        return(getWide()*getHeight());
    }
    public int perimeter() {
        return (2 * (getWide() + getHeight()));
    }
}
